package JavaPractice;

//Invoke class Rectangle.java

public class UseRec {

	static int areaOfRec;
	static int perimeterOfrec;
	
	public static void main(String[] args) {
		
		Rectangle testRec = new Rectangle (45,12);
		
		areaOfRec = testRec.area();
		perimeterOfrec = testRec.perimeter();
		
		System.out.println("Area is "+areaOfRec);
		System.out.println("Perimeter is "+perimeterOfrec);
	}
	

}
